package com.bwie.state;

/**
 * 支付状态枚举
 */

public enum PayStateEnum {

    UNPAID(0,"未支付"),
    PAID(1,"已支付"),
    PAY_FAIL(2,"已退款"),
    CANCEL(3,"已取消");

    private Integer code;
    private String name;

    PayStateEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
